export default {
    title: '请选择员工',
    params: {
        enabledFlag: 1,
        isRelevancy: 0,
    },
    columns: [
        {
            label: '员工编码',
            prop: 'staffCode',
            minWidth: 120,
        },
        {
            label: '姓名',
            prop: 'staffName',
            minWidth: 100,
        },
        {
            label: '部门',
            prop: 'staffDepartmentNameText',
            minWidth: 120,
        },
        {
            label: '手机号码',
            prop: 'staffPhone',
            minWidth: 120,
        },
    ],
    selectedColumns: [
        {
            label: '员工编码',
            prop: 'staffCode',
            minWidth: 90,
        },
        {
            label: '员工姓名',
            prop: 'staffName',
            minWidth: 90,
        },
    ],
    formLayout: [
        {
            formType: 'input',
            type: 'text',
            span: 5,
            value: 'staffCode',
            placeholder: '员工编码',
            prop: 'staffCode',
            clearable: true,
        },
        {
            formType: 'input',
            type: 'text',
            span: 5,
            value: 'staffName',
            placeholder: '员工姓名',
            prop: 'staffName',
            clearable: true,
        },
    ],
    url: '/api-saas-psc/app/sysStaff/queryRelevancyAreaPage',
    modelKey: 'staffCode',
    modelText: 'staffName',
    method: 'POST',
    selectType: 'checkbox',
};
